//
//  SGLoginButton.m
//  HuaMuJinRong
//
//  Created by mac on 16/4/25.
//  Copyright © 2016年 EIMS. All rights reserved.
//

#import "SGLoginButton.h"

@implementation SGLoginButton

- (void)setIsActive:(BOOL)isActive
{
    if (isActive) {
        [self setBackgroundColor:KButtonNormalColor];
        self.userInteractionEnabled=YES;
    }else{
        [self setBackgroundColor:[ColorTools colorWithHexString:@"#F4B693"]];
        self.userInteractionEnabled=NO;
    }
    _isActive = isActive;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
